package com.doctor.service;

import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import com.doctor.entity.Case;

public interface CaseService {
    
    Page<Case> findAll(PageRequest pageRequest);

    Case findById(Long id);

    void saveOrUpdate(Case tbcase);

    void delete(Long id);

    List<Case> findAllMan();

	List<Case> findByTypeIdOrderByCreateTimeDesc(int typeId);

}
